/**
 * Copyright &copy; 2013-2016 山东易科德软件有限公司   All rights reserved.
 */
package cn.net.ecode.elec.caculate.entity;

import cn.net.ecode.common.persistence.DataEntity;
import org.hibernate.validator.constraints.Length;

/**
 * 收益测算Entity
 * @author AlanShelby
 * @version 2019-09-06
 */
public class ElecEarningsCalculate extends DataEntity<ElecEarningsCalculate> {
	
	private static final long serialVersionUID = 1L;
	private String username;		// 用户名称
	private String phone;		// 手机号
	private String btypeName;		// 企业名称
	private String yearElectric;		// 年用电量
	private String productionType;		// 生产类型
	private String productionDate;		// 生产时段
	
	public ElecEarningsCalculate() {
		super();
	}

	public ElecEarningsCalculate(String id){
		super();
		this.id = id;
	}

	@Length(min=0, max=64, message="用户名称长度不能超过 64 个字符")
	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}
	
	@Length(min=0, max=11, message="手机号长度不能超过 11 个字符")
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	@Length(min=0, max=64, message="企业名称长度不能超过 64 个字符")
	public String getBtypeName() {
		return btypeName;
	}

	public void setBtypeName(String btypeName) {
		this.btypeName = btypeName;
	}
	
	@Length(min=0, max=10, message="年用电量长度不能超过 10 个字符")
	public String getYearElectric() {
		return yearElectric;
	}

	public void setYearElectric(String yearElectric) {
		this.yearElectric = yearElectric;
	}
	
	@Length(min=0, max=64, message="生产类型长度不能超过 64 个字符")
	public String getProductionType() {
		return productionType;
	}

	public void setProductionType(String productionType) {
		this.productionType = productionType;
	}

	@Length(min=0, max=64, message="生产时段长度不能超过 64 个字符")
	public String getProductionDate() {
		return productionDate;
	}

	public void setProductionDate(String productionDate) {
		this.productionDate = productionDate;
	}
	
}